home *** CD-ROM | disk | FTP | other *** search
/ PC Open 97 / PC Open 97 CD2.bin / Demo / FileMaker / Data1.cab / Frames.xsl3 < prev    next >
Encoding:
Extensible Markup Language  |  2003-11-11  |  1.8 KB  |  41 lines

  1. <?xml version="1.0"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3.     <xsl:import href="Strings.xsl"/>
  4.     <xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" encoding="UTF-8" indent="yes"/>        
  5.     
  6.     <!-- Template for generating the main report. The main entry point for the transformation. -->
  7.     <xsl:template name="MainFrame" match="/">
  8.         <html>
  9.             <head>
  10.                 <title>
  11.                     <xsl:value-of select="$valDatabaseDesignReport"/>
  12.                 </title>
  13.             </head>            
  14.             <script language="javascript">
  15.                 <xsl:text disable-output-escaping="yes">
  16.                     <!--
  17.                 </xsl:text>
  18.                 
  19.                 <xsl:text disable-output-escaping="yes">
  20.                     document.write('<frameset border="1" frameSpacing="0" borderColor="#cccccc" rows="*" cols="150,*">');
  21.                 </xsl:text>    
  22.                 
  23.                 <xsl:text disable-output-escaping="yes">
  24.                     document.write('<frame src="</xsl:text><xsl:value-of select="/FMPReport/File/@linkTOCFrame"/><xsl:text disable-output-escaping="yes">" name="leftFrame" scrolling="NO"/>');
  25.                 </xsl:text>
  26.                 
  27.                 <xsl:text disable-output-escaping="yes">
  28.                     document.write('<frame src="</xsl:text><xsl:value-of select="/FMPReport/File/@linkReportFrame"/><xsl:text disable-output-escaping="yes">'+ (window.location.search?('#' + unescape(window.location.search.substring(1))):"") +'</xsl:text><xsl:text disable-output-escaping="yes">" name="main"/>');
  29.                 </xsl:text>
  30.                 
  31.                 <xsl:text disable-output-escaping="yes">
  32.                     document.write('</frameset>');
  33.                 </xsl:text>
  34.                 
  35.                 <xsl:text disable-output-escaping="yes">
  36.                     -->
  37.                 </xsl:text>
  38.             </script>
  39.         </html>
  40.     </xsl:template>
  41. </xsl:stylesheet>